package com.tjetc.service;

import com.tjetc.domain.Bed;
import com.tjetc.utils.PageInfo;

import java.util.List;

public interface BedService {

    List<Bed> findByRid(int id);

    List<Bed> findByDepid(int depid);

    Bed findByUid(int uid);

    int getCount(String number);

    int getCount1(int status, String number);

    List<Bed> list(String number, PageInfo<Bed> pageInfo);

    List<Bed> list1(int status, String number, PageInfo<Bed> pageInfo);

    int getRCount(int roomid);

    Bed findByNumber(String number,int roomid);

    boolean add(Bed bed);

    boolean update(Bed bed);

    boolean del(Bed bed);

    Bed findById(int id);

    boolean updatePrice(Bed bed);


}
